package cn.mapper;

import cn.pojo.HealthOrderPerson;
import cn.pojo.dto.OrderVaccineUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface HealthOrderPersonMapper {
    Integer save(HealthOrderPerson person);

    Integer update(HealthOrderPerson person);

    Integer delete(@Param("orderIdP") String id, @Param("orderNoP") String no);

    List<OrderVaccineUser> select(@Param("userId") String userid, @Param("kind") String kind);
}
